<div class="col-md-10 col-md-offset-1">
	<?php
	/* display message saved in session if any */
	echo $this->Session->flash();

	foreach ($this->Session->read('friends') as $friend){?>
		<div class="col-md-4 img-thumbnail">
			<h3><span class="glyphicon glyphicon-user"></span><?PHP echo $friend['username']; ?></h3>
			<hr />
			<div class="form-group">
				<span class="label label-default col-md-4">Vorname</span>
				<span class="col-xs-offset-1">
				<?PHP echo $friend['firstname']; ?>
				</span>
			</div>
			<div class="form-group">
				<span class="label label-default col-md-4">Nachname</span>
				<span class="col-xs-offset-1">
				<?PHP echo $friend['lastname']; ?>
				</span>
			</div>
			<hr />
			<ul class="nav nav-pills">
				<?PHP
					/* link Mitglieder */
					echo $this->Html->tag('li', $this->Html->link('Profil', array('controller' => 'users', 'action' => 'profil', $friend['id']) , null));
				?>
			</ul>
		</div>
	<?PHP
	}
	?>
</div>